home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / text / tex / tgrind.lha / TGrind / README.amiga < prev    next >
Text File  |  1993-01-04  |  1KB  |  28 lines

  1. This is an Amiga port of the tgrind utility.  With TeX and tgrind one
  2. can "pretty print" program source code in various languages.  Tgrind
  3. is not used to indent or format your programs, but to generate a nice
  4. looking TeX source file with comments in italics, key words in boldface
  5. etc.
  6.  
  7. The Amiga port does not include the original sh-script.  Only the
  8. tfontendpr binary (renamed to tgrind) is included.  This means that the
  9. included manual page is not entirely correct.  This version outputs the
  10. resulting TeX file to stdout and one must run it through TeX manually.
  11. For example, to produce a nice looking listing of the included C source
  12. files, one would use:
  13.  
  14. MyAmy> tgrind regexp.c retest.c tfontendpr.c vgrindefs.c >listing.tex
  15. MyAmy> tex listing
  16. MyAmy> dvips listing ; or whatever your device driver is
  17.  
  18. INSTALLATION
  19.  
  20. Copy tgrindefs to tex:inputs directory.  Also the files tgrindmac.tex
  21. and tgrind.sty should be copied to a place where TeX looks for input
  22. files (tex:inputs).  Copy tgrind somewhere along your path.
  23.  
  24. The included SCOPTIONS file and Makefile can be used with SAS/C version
  25. 6.0 or later.
  26.  
  27. Kari Sutela, University of Turku, 4.1.1992
  28.